using System;
using System.Collections.Generic;
using System.Text;

namespace Dominio
{
    public class Tester : User
    {
         //We will use by defaul properties name first letter in lowerCase and newxt first letters word in UpperCase.
        private IList<Bug> bugList;
        private string state;
        private IList<Answer> answerList;


        //Empty Constructor used by Nhibernate.
        protected Tester() : base() { }

        public Tester(string name, string lastName, string email, string address, string country, string city, string password, int dni, String state)
            : base(name, lastName, email, address, country, city, password, dni)
        {
            this.state = state;
        }


         public Tester(int id, string name, string lastName, string email, string address, string country, string city, string password, int dni, String state)
            : base(id, name, lastName, email, address, country, city, password, dni)
        {
            this.state = state;
        }
       

        #region getters and Setters
        public virtual IList<Bug> BugList
        {
            get { return bugList; }
            set { bugList = value; }
        }
        public virtual IList<Answer> AnswerList
        {
            get { return answerList; }
            set { answerList = value; }
        }

        public virtual String State
        {
            get { return state; }
            set { state = value; }
        } 
        #endregion

        
    }
}
